package com.ruoyi.purchase.pojo;

import lombok.*;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采购订单物料清单对象 t_purchase_order_material
 *
 * @author ruoyi
 * @date 2024-10-25
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PurchaseOrderMaterial extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 采购订单id */
    @Excel(name = "采购订单id")
    private Integer purchaseOrderId;

    /** 物料id */
    @Excel(name = "物料id")
    private Integer materialId;

    /** 物料的数量 */
    @Excel(name = "物料的数量")
    private Integer purchaseOrderNumber;

    /** 状态0未审核;1审核通过:2审核驳回 */
    @Excel(name = "状态0未审核;1审核通过:2审核驳回")
    private Integer status;

    private Double materialPrice;

    private Integer unitId;

    private String materialName;
}
